package com.odais.DataManagement;

import android.database.Cursor;

public interface IRepository<T, V> 
{
	public V GetAll();
	public T GetById(int id);

	public void Save(T entite);
	public void Update(T entite);
	public void Delete(int id);

	public V ConvertCursorToListObject(Cursor c);
	public T ConvertCursorToObject(Cursor c);
	public T ConvertCursorToOneObject(Cursor c);
}
